<template>
  <view>发现</view>
</template>

<script setup>
import { ref } from 'vue'
import { getTravelList } from '@/api/travel'

const travelList = ref([])

onMounted(() => {
  getTravelList().then(res => {
    console.log(res,'游记列表')
    travelList.value = res.data
  })
})
</script>

<style lang="scss" scoped></style>